LOCK VERTEXDATA FOR LIMB

This command will lock the vertexdata of a limb within an object, allowing it to be modified by the vertexdata commands.

  Syntax
LOCK VERTEXDATA FOR LIMB Object Number, Limb Number
LOCK VERTEXDATA FOR LIMB Object Number, Limb Number, Lock Mode
  Parameters
Object Number
Integer
Specify an object number between 1 and 2415919103.
Limb Number
Integer
This value is an integer number such as 1.
Lock Mode
Integer
This value is an integer number such as 1.

  Returns

This command does not return a value.

  Description

Use UNLOCK VERTEXDATA to release this lock and apply the changes you have made. If the Lock Mode flag is zero, the entire vertexdata is replaced in the vertex buffer, if the value is one the vertex buffer is merely refreshed which is considerably faster. A value of two will replace the vertexdata in the vertex buffer entirely, and it will also ensure the original data copy of the object is updated as well (useful when saving and bone animating the object).

  Example Code
No example code is provided for this command
  See also

BASIC3D Commands Menu
Index